#!/bin/bash
XIL_IMPACT_USE_LIBUSB=1 impact -batch <<EOF
setMode -bscan
setCable -p auto
identify
assignfile -p 3 -file $1
program -p 3
quit
EOF
